Understanding Syntaxerror Invalid Character In Identifier In Python